package com.jic.point.api;

import com.jic.point.common.RestResult;
import com.jic.point.rest.request.ReleaseHaiBeiRequest;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @description: TODO
 * @author: lixuehui
 * @date: 2020/11/25 17:01
 * @Version 1.0
 */
@FeignClient(name = "jic-point", path = "/rightsUserInterestsReleaseIntegral")
@Api(tags = " [释放海贝积分]")
public interface ReleaseHaiBei {
    /**
     * @author: lixuehui
     * @return
     * 权益延期到期的积分(1.0积分释放)
     */
    @PostMapping("getDelayIntegralOne")
    @ApiOperation(value = " 权益延期到期的积分")
    RestResult<?> getDelayIntegralOne(@RequestBody ReleaseHaiBeiRequest request);

    /**
     * @author: lixuehui
     * @return
     * 兑换时间过期的积分(1.0积分释放)
     *InterestsReleaseIntegral/getExchangeIntegralOne
     */
    @PostMapping("getExchangeIntegralOne")
    @ApiOperation(value = " 兑换时间过期的积分")
    RestResult<?> getExchangeIntegralOne(@RequestBody ReleaseHaiBeiRequest request);

    /**
     * @author: lixuehui
     * @return
     * 活动过期未使用的积分(1.0积分释放)
     * InterestsReleaseIntegral/getNotReceiceIntegralOne
     */
    @PostMapping("getNotReceiceIntegralOne")
    @ApiOperation(value = " 活动过期未使用的积分")
    RestResult<?> getNotReceiceIntegralOne(@RequestBody ReleaseHaiBeiRequest request);

    /**
     * @author: lixuehui
     * @return
     * 权益延期到期的积分
     * InterestsReleaseIntegral/getDelayIntegral
     */
    @PostMapping("getDelayIntegral")
    @ApiOperation(value = " 权益延期到期的积分")
    RestResult<?> getDelayIntegral(@RequestBody ReleaseHaiBeiRequest request);


    /**
     * @author: lixuehui
     * @return
     * 兑换时间过期的积分
     * InterestsReleaseIntegral/getExchangeIntegral
     */
    @PostMapping("getExchangeIntegral")
    @ApiOperation(value = " 兑换时间过期的积分")
    RestResult<?> getExchangeIntegral(@RequestBody ReleaseHaiBeiRequest request);


    /**
     * @author: lixuehui
     * @return
     * 活动过期未使用的积分
     * /rightsUserInterestsReleaseIntegral/getNotReceiceIntegral
     */
    @PostMapping("getNotReceiceIntegral")
    @ApiOperation(value = " 活动过期未使用的积分")
    RestResult<?> getNotReceiceIntegral(@RequestBody ReleaseHaiBeiRequest request);








}
